package com.yyxk.thousandtime.util;

/**
 * ----------Dragon be here!----------/
 * 　　　┏┓　　　┏┓
 * 　　┏┛┻━━━┛┻┓
 * 　　┃　　　　　　　┃
 * 　　┃　　　━　　　┃
 * 　　┃　┳┛　┗┳　┃
 * 　　┃　　　　　　　┃
 * 　　┃　　　┻　　　┃
 * 　　┃　　　　　　　┃
 * 　　┗━┓　　　┏━┛
 * 　　　　┃　　　┃神兽保佑
 * 　　　　┃　　　┃代码无BUG！
 * 　　　　┃　　　┗━━━┓
 * 　　　　┃　　　　　　　┣┓
 * 　　　　┃　　　　　　　┏┛
 * 　　　　┗┓┓┏━┳┓┏┛
 * 　　　　　┃┫┫　┃┫┫
 * 　　　　　┗┻┛　┗┻┛
 * ━━━━━━神兽出没━━━━━━
 * 项目名称：WheelMedical
 * 包名:com.yyxk.wheelmedical.util
 * 类描述：
 * 创建人：Random
 * 创建时间：14:28
 * 修改人：Random
 * 修改时间：14:28
 * 修改备注：
 */
public class Constants {
    //BaseURL
    public static final String PATH = "dispatcher.json";
    //线上环境
    public static final String ONLINE_PATH = "http://interface-basic.pinwheelmedical.com/";
    public static final String TEST_PATH = "http://adios.huerkang.cn/";


    public static int noNetWorkCount = 0;
    public static final String FROM_USER = "用户";
    public static final String FROM_SYSTEM = "系统";
    public static final String ERROR = "错误";

    //SharedPreference
    public static final String LOGIN = "login";
    public static final String HEART = "heart";


    /**
     * RxBus
     */
    //RxBusBaseActivity里面显示SnackBar
    public static final String SHOW_SNACK = "showSnackBar";
    //解读挂起页面刷新
    public static final String HUNG_UP_REFRESH = "reportHungUpRefresh";
    //追问发送刷新
    public static final String ASK_SEND_REFRESH = "askSendRefresh";
    //  发送报告到用户/发送异常报告成功
    public static final String SEND_REPORT_SUCCESS = "send_report_success";
    // 急诊界面的数据刷新事件
    public static final String EMERGENCY_DATA_REFRESH = "emergency_data_refresh";
    // 急诊开关强制关闭
    public static final String SWITCH_FORCE_DESTROY = "switch_force_destroy";


    // 问答--问题列表数据刷新
    public static final String REFRESH_QUESTIONS_LIST = "refresh_questions_list";
    // 家庭问诊 数据刷新
    public static final String REFRESH_OUTPATIENT_LIST = "refresh_outpatient_list";


    // 知道的最新提问的红点提示
    public static final String SHOW_QUESTIONS_RED_DOT = "show_questions_red_dot";
    public static final String HIDE_QUESTIONS_RED_DOT = "hide_questions_red_dot";
    // 家庭问诊红点提示
    public static final String SHOW_FAMILY_RED_DOT = "show_family_red_dot";
    public static final String HIDE_FAMILY_RED_DOT = "hide_family_red_dot";


    //接口常量em
    public static final String DOCTOR = "/doctor/";
    public static final String DOCTOR_RECOM = "/doctorRecom/";
    public static final String FAMILY = "/family/";
    public static final String REPORT = "/report/";
    public static final String ANSWER = "/answer/";

    public static final String JSON = ".json";
    public static final String FETCH_LAST_VERSION = DOCTOR + "fetchLastVersion" + JSON;
    public static final String EM_LOGIN = DOCTOR + "login" + JSON;
    public static final String EM_LOGIN_BASIC = DOCTOR + "profelogin" + JSON;
    public static final String SEND_CODE = DOCTOR + "sendCode" + JSON;
    public static final String VALIDATE_TOKEN = DOCTOR + "validateToken" + JSON;
    public static final String BIND = DOCTOR + "bind" + JSON;
    //http://192.168.30.238:8080/doctorRecom/queryMealGoodsList.json?min=1&max=12&propId=52f5621cb73a4781bfad093c78f58618
    public static final String QUERY_MEAL_GOODS_LIST = DOCTOR_RECOM + "queryMealGoodsList" + JSON;
    //http://192.168.30.238:8080/doctorRecom/queryGoodsList.json?mealGoodsId=fa56e3077218493d87a5656625d51949
    public static final String QUERY_GOODS_LIST = DOCTOR_RECOM + "queryGoodsList" + JSON;
    ///doctorRecom/saveRecomGoods.json?goodsIds=xx,xx,xx
    public static final String SAVE_RECOM_GOODS = DOCTOR_RECOM + "saveRecomGoods" + JSON;
    public static final String ADD_DOCTOR_AUDIT = DOCTOR_RECOM + "addDoctorAudit" + JSON;

    public static final String GET_FAMILY_LIST = FAMILY + "getFamilyList" + JSON;
    public static final String GET_EB_ORDER_INFOS = FAMILY + "getEbOrderInfos" + JSON;

    public static final String GET_CONTRACT_INFOS = FAMILY + "findContractOrderInfos" + JSON;
    public static final String GET_CONTRACT_ORDER = FAMILY + "findContractOrderInfoDetail" + JSON;


    public static final String GET_FAMILY_INFO = FAMILY + "getFamilyInfo" + JSON;
    ///report/getReportList.json
    public static final String GET_REPORT_LIST = REPORT + "getReportList" + JSON;
    public static final String FIND_REPORT_DETAIL_INFO = REPORT + "findReportDetailInfo" + JSON;
    ///report/saveReportSound.json?pkgId=xxx
    public static final String SAVE_REPORT_SOUND = REPORT + "saveReportSound" + JSON;
    public static final String SAVE_REPORT_TEXT = REPORT + "saveReportText" + JSON;
    ///report/hangReport.json
    public static final String HANG_REPORT = REPORT + "hangReport" + JSON;
    public static final String FIND_QUESTIONS = FAMILY + "findQuestions" + JSON;
    //findQuestionDetail
    public static final String FIND_QUESTION_DETAIL = FAMILY + "findQuestionDetail" + JSON;
    //questionAnswer
    public static final String QUESTION_ANSWER = FAMILY + "questionAnswer" + JSON;
    public static final String SEND_REPORT = REPORT + "sendReport" + JSON;
    public static final String SEND_AB_REPORT = REPORT + "abReport" + JSON;

    public static final String EMORDER = "/emorder/";
    public static final String DR = "/dr/";
    public static final String EXAM_AND_SEND_USER = EMORDER + "examAndSendUser" + JSON;
    public static final String GET_DOCTOR_DIA_DETAIL = EMORDER + "getOrderDiaDetail" + JSON;
    public static final String EXAM_TEXT_AND_SEND_USER = EMORDER + "examTextAndSendUser" + JSON;
    public static final String GET_TEL_URL = EMORDER + "getTelUrl" + JSON;
    public static final String GET_DOCTOR_DIA_LIST = EMORDER + "getDoctorDiaList" + JSON;
    public static final String SUSPEND = EMORDER + "suspend" + JSON;
    public static final String DOCTOR_DONE_DIA = EMORDER + "doctorDoneDia" + JSON;
    public static final String TEL = EMORDER + "tel" + JSON;
    public static final String FIND_ORDER_BY_ID = EMORDER + "findOrderById" + JSON;
    public static final String GET_PATIENT_DIA_LIST = EMORDER + "getPatientDiaList" + JSON;
    public static final String GET_ORDER_EXAM = EMORDER + "getOrderExam" + JSON;
    public static final String FIND_TMP_ORDER_LIST = EMORDER + "findTmpOrderList" + JSON;
    public static final String QUERY_QA = EMORDER + "queryQa" + JSON;
    public static final String UPDATE_AUS = EMORDER + "switchAus" + JSON;
    public static final String HEART_BEAT = EMORDER + "heartbeat" + JSON;

    public static final String FETCH_LASTED_VERSION = "/p/fetchLastedVersion" + JSON;
    public static final String ADD_DOCTOR_SOUND = EMORDER + "addDoctorSound" + JSON;//暂时不做修改
    public static final String SEND_DOCTOR_ASS = EMORDER + "sendDoctorAss" + JSON;
    public static final String GET_SOUND_LIST = EMORDER + "getSoundList" + JSON;
    public static final String DEL_SOUND = EMORDER + "delSound" + JSON;
    public static final String QUERY_QA_BY_ORDER_ID = EMORDER + "queryQaByOrderId" + JSON;
    public static final String QA = EMORDER + "qa" + JSON;
    public static final String GET_DOCTOR_UN_DONE_ORDER_LIST = EMORDER + "getDoctorUnDoneOrderList" + JSON;
    public static final String DOCTOR_SIGN = EMORDER + "sign" + JSON;

    //接口常量dr
    public static final String DR_SUSPEND = DR + "suspend" + JSON;
    public static final String FIND_REPORT_BY_ID = DR + "findReportById" + JSON;
    public static final String ANSWER_NEW = DR + "answer" + JSON;
    public static final String GET_TEL_INFO = DR + "getTelInfo" + JSON;
    public static final String DR_TEL = DR + "tel" + JSON;
    public static final String FIND_REPORTS = DR + "findReports" + JSON;

    //日志接口
    public static final String ACT_LOGS = "/log/actLogs.json";


    //分答模块
    public static final String QUESTIONS_WAITING = ANSWER + "unanswereds" + JSON;//待回复
    public static final String QUESTIONS_ANSWERED = ANSWER + "answereds" + JSON;//已回复
    public static final String QUESTIONS_PAST = ANSWER + "losedAnswereds" + JSON;//已失效

    public static final String QUESTION_REVERT = ANSWER + "unanswereds/revert" + JSON;//医生回答问题
    public static final String QUESTION_WAITING_DETAIL = ANSWER + "unanswereds/info" + JSON;//查看医生待回答问题详情
    public static final String QUESTION_ANSWERED_DETAIL = ANSWER + "answereds/info" + JSON;//查看医生已回答／已失效问题详情
    public static final String QUESTION_INVITE_DOCTORS = ANSWER + "inviteDoctors" + JSON;// 被邀请医生们
    public static final String INVITE_DOCTOR = ANSWER + "invite" + JSON;// 邀请医生
    public static final String GET_MATRIX_CODE = DOCTOR + "matrixCode" + JSON;// 医生二维码

    //家庭门诊

    public static final String SEND_ONLINE_STATUS = "/familyDoctor/onlineStatus.json";//医生状态设置
    public static final String GET_FAMILY_INQUIRES = "/familyDoctor/inquiries.json";//医生问诊列表
    public static final String GET_FAMILY_INQUIRY_INFO = "/familyDoctor/inquiries/info.json";//医生问诊详情
    public static final String GET_FAMILY_DOCTOR_WORKS = "/familyDoctor/works.json";//医生日程列表
    public static final String SEND_FAMILY_DOCTOR_WORKS = "/familyDoctor/works/send.json";//医生日程设置
    public static final String FAMILY_DOCTOR_RECEIVE = "/familyDoctor/inquiries/accept.json";//医生确认接诊
    public static final String FAMILY_DOCTOR_CALL = "/familyDoctor/inquiries/call.json";//医生回电
    public static final String FAMILY_DOCTOR_SEND = "/familyDoctor/inquiries/send.json";//医生提交诊断

    /**
     * 成功
     */
    public static Integer RETURN_CODE_SUCCESS = 1;
    /**
     * SAVE_RECOM_GOODS
     * 失败
     */
    public static Integer RETURN_CODE_FAIL = -1;
    /**
     * 参数异常
     */
    public static Integer RETURN_CODE_PARAM_ERR = -4;
    /**
     * 没找到相应对象
     */
    public static Integer RETURN_CODE_NOT_FIND_OBJ = -3;
    /**
     * 登录验证码错误
     */
    public static Integer RETURN_CODE_CODE_ERR = -2;
    /**
     * 订单状态异常
     */
    public static Integer RETURN_CODE_EMORDER_STATUS_ERR = -5;
    /**
     * 医生状态异常
     */
    public static Integer RETURN_CODE_DOCTOR_STATUS_ERR = -6;
    /**
     * 订单没有编辑卢颖
     */
    public static Integer RETURN_CODE_NO_SOUND = -7;
    /**
     * 第三方电话接口异常
     */
    public static Integer RETURN_CODE_TEL_API_ERR = -8;
    /**
     * 错误的签到状态
     */
    public static Integer RETURN_CODE_ERR_SIGN_STATUS = -9;
    /**
     * 错误的解读报告状态
     */
    public static Integer RETURN_CODE_ERR_REPORT_STATUS = -10;

    /**
     * 该问答已经回答
     */
    public static Integer RETURN_CODE_ERR_TEXT_IS_ANSWERED = -11;
    /**
     * 电话已注册
     */
    public static Integer PHONE_ALLRADEY_EXIST = -12;

    /**
     * 新生儿套餐与儿保套餐共选
     */
    public static Integer BOTH_SELECTED_ERROR = -13;

    /**
     * 订单已改派
     */
    public static Integer ALLREADY_CHANGE_DOC = -14;

    /**
     * 订单状态异常
     */
    public static Integer QUESTION_ALREADY_ANSWERED = -15;

    /**
     * 推送常量
     */
    public static String PUSH_REPORT_PRO = "report_pro";
    public static String PUSH_CHECK = "check";
    public static String PUSH_TEXT = "text";
    public static String PUSH_CHECK_CLICK = "check_click";//签到notification点击
    public static String PUSH_PLAY_MUSIC = "playMusic";//音乐广播
    public static String PUSH_STOP_MUSIC = "stopMusic";//停止音乐d
    public static String GT_MESSAGE = "GTMessage";//推送


    /**
     * 微信开放平台app_id
     */
    public static final String APP_ID = "wxd1e994f4cbee4b46";

}
